package com.ssm.plus.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author yl
 * @since 2021-04-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String address;

    private Integer age;

    private BigDecimal balance;

    @TableField(fill = FieldFill.INSERT)
    private Date createdAt;

    private String gander;

    private String name;

    private String password;

    private String phone;

    private String pic;

    private Integer status;

    private String type = "user";

    private String username;

    private String number;


}
